import './style/index.less'
import ScorePanel from "./modules/ScorePanel";
import Food from "./modules/Food";
import GameControl from "./modules/GameControl";



 (()=>{
     // const food = new Food();
     // console.log(food.X , food.Y);
     // food.change();
     // console.log(food.X , food.Y);
     //
     // const scorePanel = new ScorePanel(10 , 10 );
     // scorePanel.addScore()
     // scorePanel.addScore()
     // scorePanel.addScore()

     const gameControl = new GameControl();
     // console.log(gameControl.direction);

     setInterval(()=>{
         console.log(gameControl.direction ) ;
     } , 1000) ;
 })();
